<template>
    <div class="content-wrapp">
        <v-form ref="search" @submitForm="submitForm"></v-form>
        <v-table :ruleForm="ruleForm" @columns="columns"></v-table>
    </div>
</template>
<script>
import vTable from "./winitTable.vue";
import vForm from "./winitForm.vue";
export default {
    data() {
        return {
            ruleForm: {}
        };
    },
    methods: {
        submitForm(val) {
            this.ruleForm = JSON.parse(JSON.stringify(val));
        },
        columns(val) {
            this.$refs.search.getColumns(val);
        }
    },
    components: {
        vForm,
        vTable
    }
};
</script>

